# extensions.py
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()  # 单独初始化 db